:root {
    --color-primary: rgb(244 121 72);
    --color-secondary:rgb(8 37 53);
    --color-tertiary:rgb(25 114 120);
    --color-neutral: rgb(235 242 249);
    --banner:url('images/banner.jpg');
    --logo:url('images/logo.png');
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: rgba(8, 37, 53, 0.5);
}

* {
    box-sizing: border-box;
}

.icon {
    display: inline-block;
    width: 20px;
    text-align: center;
}

a, span, .icon {
    color: rgb(8 37 53);
    color: var(--color-secondary);
}

a {
    text-decoration: none;
    transition: color .1s ease-in-out;
    -webkit-transition: color .1s ease-in-out;
    -moz-transition: color .1s ease-in-out;
    -ms-transition: color .1s ease-in-out;
    -o-transition: color .1s ease-in-out;
}

a:hover {
    color: rgb(235 242 249);
    color: var(--color-primary);
}

.wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-size: cover;
}

@media screen and (max-width: 700px), (max-height: 500px) {
    .wrapper {
        flex-wrap: wrap;
        flex-direction: column;
    }
}

.card-main {
    background: #eef3f7;
    width: 410px;
    min-height: 350px;
    box-shadow: 0px 15px 35px -5px rgba(50, 88, 130, 0.32);
    border-radius: 15px;
    padding: 30px;
}

@media screen and (max-width: 576px), (max-height: 500px) {
    .card-main {
        width: 95%;
        padding: 20px;
        margin-top: 75px;
        min-height: initial;
        padding-bottom: 30px;
        max-width: 400px;
    }
}

.card-main__top {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 4;
}

@media screen and (max-width: 576px), (max-height: 500px) {
    .card-main__top {
        flex-wrap: wrap;
    }
}

.card-cover {
    width: 400px;
    height: 250px;
    margin-left: -70px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border-radius: 15px;
    z-index: 1;
    background-color: white;
}

@media screen and (max-width: 576px), (max-height: 500px) {
    .card-cover {
        margin-top: -70px;
        margin-bottom: 25px;
        width: 290px;
        height: 230px;
        margin-left: auto;
        margin-right: auto;
    }
}

.card-cover__item {
    background-image: var(--banner);
    background-repeat: no-repeat;
    background-position: 35%;
    background-size: cover;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: absolute;
    left: 0;
    top: 0;
}

@media screen and (max-width: 576px), (max-height: 500px) {
    .card-cover__item {
        background-image: var(--logo);
        background-size: contain;
    }
}

.card-cover__item:before {
    content: "";
    background: inherit;
    width: 100%;
    height: 100%;
    box-shadow: 0px 10px 40px 0px rgb(76 70 124 / 50%);
    display: block;
    z-index: 1;
    position: absolute;
    top: 30px;
    transform: scale(0.9);
    filter: blur(10px);
    opacity: 0.9;
    border-radius: 15px;
}

@media screen and (max-width: 576px), (max-height: 500px) {
    .card-cover__item:before {
        height: auto;
    }
}

.card-cover__item:after {
    content: "";
    background: inherit;
    width: 100%;
    height: 100%;
    box-shadow: 0px 10px 40px 0px rgb(76 70 124 / 50%);
    display: block;
    z-index: 2;
    position: absolute;
    border-radius: 15px;
}

.card-footer {
    width: 100%;
    margin-top: 35px;
    margin-bottom: 20px;
    user-select: none;
}

@media screen and (max-width: 576px), (max-height: 500px)  {
    .card-footer {
        margin-top: 0;
    }
}

.card-footer__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.company-info {
    flex: 1;
    user-select: none;
}

@media screen and (max-width: 576px), (max-height: 500px)  {
    .company-info {
        padding-right: 30px;
    }
}

.company-info__email,
.company-info__phone,
.company-info__address {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3em;
}

@media screen and (max-width: 576px), (max-height: 500px) {
    .company-info__email,
    .company-info__phone,
    .company-info__address {
        font-size: 18px;
        margin-bottom: 9px;
    }
}